package com.cnap.multiclouldmgmt.model.ssh;

public class SshConnection {

    //用户名
    private String username;
    //密码
    private String password;
    //主机地址
    private String hostname;

    //创建链接
    public SshConnection(String username, String password, String hostname) {
        this.username = username;
        this.password = password;
        this.hostname = hostname;
    }

    /**
     * get
     *
     * @return Username
     */
    public String getUsername() {
        return username;
    }

    /**
     * set
     *
     * @param username username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * get
     *
     * @return Password
     */
    public String getPassword() {
        return password;
    }

    /**
     * set
     *
     * @param password password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * get
     *
     * @return Hostname
     */
    public String getHostname() {
        return hostname;
    }

    /**
     * set
     *
     * @param hostname hostname
     */
    public void setHostname(String hostname) {
        this.hostname = hostname;
    }
}


